/// Author: QP
/// Version: 1.0
/// Date:2021/07/01
/// 用药章节 - 中药饮片条目子表， 用于《中药处方》
Class HCC.SQL.Document.MedicationUseHistory.HerbalPiece Extends (%Persistent, %XML.Adaptor, HCC.SQL.Base) [ DependsOn = HCC.SQL.Base ]
{

/// 中药饮片处方
Property name As WS.DE.DE085004900 [ SqlFieldName = name ];

/// 中药饮片剂数
Property dose As WS.DE.DE085005000 [ SqlFieldName = dose ];

/// 中药饮片煎煮法
Property decocting As WS.DE.DE085004700 [ SqlFieldName = decocting ];

/// 中药用药法
Property usage As WS.DE.DE060013600 [ SqlFieldName = usage ];

/// 处方类别代码
Property presType As WS.DE.DE085003200 [ SqlFieldName = pres_type ];

/// 文档编号
Relationship MedicationUseHistory As HCC.SQL.Document.MedicationUseHistory [ Cardinality = parent, Inverse = HerbalPieces, SqlFieldName = DocumentNo ];


}
